package com.cdks.wuxiu.api.service;

import java.util.List;

import com.cdks.wuxiu.entity.mysql.RechargeOrderInfo;
import com.cdks.wuxiu.entity.mysql.RechargePriceConfig;


/**
 * 充值服务类
 */
public interface RechargeService {
    List<RechargePriceConfig> getPriceList(int plat);
    
    RechargeOrderInfo createOrder(long userId, int branch, int priceId, int type);
    RechargeOrderInfo getOrderByOrderNo(String orderNo);
    RechargeOrderInfo getOrderByThirdNo(String thirdNo);
    RechargeOrderInfo getOrderByPriceIdWithStatus(String priceId, int status);
    RechargeOrderInfo getOrderByOrderNoWithStatus(String orderNo, int status);

    int payOrderSuccess(RechargeOrderInfo order);
    
    List<RechargeOrderInfo> getRecord(long userId, int page, long start, long stop);
}
